package com.chenjun.core.service.sys;

import java.util.List;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.SysGroup;

public interface SysGroupService {

	public SysGroup get(String id);

	public int create(SysGroup record);

	public int delete(String id);

	public int update(SysGroup record);

	public int createOrUpdate(SysGroup record);

	public int doCountByCondition(DataGridModel param);
	public List<SysGroup> doListByCondition(DataGridModel param);
	public Pagination doPagination(DataGridModel param);
	
	public SysGroup getTypeById(String id);
	
	public SysGroup getResource(String id);
}
